package com.xiaoxx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author :HX
 * @date : 2023/8/21
 */
@ConfigurationProperties(prefix = "gitee")
@Component
@Data
public class GiteeAuthConfig {

    private String type;
    /**
     * id
     */
    private String clientId;

    /**
     * 秘钥
     */
    private String clientSecret;

    /**
     * 回调地址
     */
    private String callbackUrl;
}
